Skip to content

Conversation

@javanna
Copy link
Member

@javanna javanna commented Feb 6, 2025

remaining is used in tests only since the recent change to counting in AbstractSearchAsyncAction.

reset was used in a couple of places where it does not seem like it's needed anymore. The only leftover usage is valid and we need to come up with a replacement if we want to remove it.

remaining is used in tests only since the recent change to counting in AbstractSearchAsyncAction.

reset was used in a couple of places where it does not seem like it's needed anymore.
@javanna javanna changed the title Remove reset and remaining from SearchShardIterator Remove reset usages and remaining method from SearchShardIterator Feb 6, 2025
@javanna javanna added :Search Foundations/Search Catch all for Search Foundations >refactoring v8.19.0 auto-backport Automatically create backport pull requests when merged labels Feb 7, 2025
@javanna javanna marked this pull request as ready for review February 7, 2025 08:13
@elasticsearchmachine elasticsearchmachine added the Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch label Feb 7, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-foundations (Team:Search Foundations)

Copy link
Contributor

@original-brownbear original-brownbear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@javanna javanna force-pushed the refactoring/dry_search_shard_iterator branch from 03d15d4 to edb111d Compare February 13, 2025 18:56
@javanna javanna merged commit 85a9115 into elastic:main Feb 15, 2025
17 checks passed
@javanna javanna deleted the refactoring/dry_search_shard_iterator branch February 15, 2025 22:22
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.x Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 121934

elasticsearchmachine pushed a commit that referenced this pull request Feb 17, 2025
…21934) (#122760)

remaining is used in tests only since the recent change to counting in AbstractSearchAsyncAction.

reset was used in a couple of places where it does not seem like it's needed anymore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged backport pending >refactoring :Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch v8.19.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants